﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcctrueWMS.Foundation.Web
{
    public class WMSQueryStringKeys
    {
        /// <summary>
        /// 数据模型名称
        /// </summary>
        public const string ModelName = "model";
        /// <summary>
        /// 数据模板名称
        /// </summary>
        public const string TemplateName = "temp";
        ///// <summary>
        ///// 主键值,如果为修改,则传入主键值
        ///// </summary>
        //public const string RecId = "id";
        /// <summary>
        /// 操作方式(0:列表1:新增;2:修改)
        /// </summary>
        public const string OptType = "opt";
        /// <summary>
        /// 查询条件,该条件为固定条件,后台不会解析
        /// </summary>
        public const string Condition = "con";
        /// <summary>
        /// wbs
        /// </summary>
        public const string WbsCode = "wbsCode";
        /// <summary>
        /// 当前页
        /// </summary>
        public const string CurrentPageIndex = "currpage";
        /// <summary>
        /// 页面大小
        /// </summary>
        public const string PageSize = "pagesize";
        /// <summary>
        /// 该条件为变动查询条件,从页面收集
        /// </summary>
        public const string QueryCondition = "querycon";
        /// <summary>
        /// 排序条件
        /// </summary>
        public const string OrderByCondition = "order";
        /// <summary>
        /// 传入键值对,应对多主键值方式,取消ID属性
        /// </summary>
        public const string KeyValue = "keyvalue";

    }
}
